package com.ypy.message;

import org.springframework.context.NoSuchMessageException;

import java.util.Locale;

public interface MessageSource {

    String getMessage(String code, Object[] args, Locale locale) throws NoSuchMessageException;
}
